#pragma once

#define APPTITLE L"Bai Tap 3 - 07520169 (Tiled surface va texture sprite)"
#define FULLSCREEN false

#define SCREEN_WIDTH 640	
#define SCREEN_HEIGHT 480
#define STEEP 2 // each move windows  10 pixel

// key event
#define KEY_DOWN(keyCode) ((GetAsyncKeyState(keyCode) & 0x8000) ? 1 : 0)
#define KEY_UP(keyCode)   ((GetAsyncKeyState(keyCode) & 0x8000) ? 0 : 1

// Render
#define FPS 30 // game global FPS

// Graphics
#define BACKGROUND_FILE_NAME L"background.png"
#define TILED_FILE_NAME L"runningcat.png"

// Sprite constant

#define SPRITE_START_FRAME_INDEX 0
#define SPRITE_ANIMATED_DELAY 3
#define SPRITE_COLUMN_N 2 // base on the image
#define SPRITE_ROW_N 4 // base on the image
#define SPRITE_X 0
#define SPRITE_Y 220
#define SPRITE_Y_SURFACE 100
#define SPRITE_MOVE_X 4
#define SPRITE_MOVE_Y 0
#define SPRITE_SCALE_FACTOR 0.3f
